// basic uploader without checks
//

<title>Fur Jannis upload</title>
<font size="+1"><p>Uploaded File info</p></font>

<?php
  if (isset($_FILES['datei'])) {
    echo 'Dateiname: ' . htmlspecialchars($_FILES['datei']['name']);
    echo '<br />tempor&auml;rer Dateiname: ' . htmlspecialchars($_FILES['datei']['tmp_name']);
    echo '<br />Dateigr&ouml;&szlig;e: ' . $_FILES['datei']['size'];
    echo '<br />MIME-Typ: ' . $_FILES['datei']['type'];

    move_uploaded_file($_FILES['datei']['tmp_name'],
      'uploads/' . basename($_FILES['datei']['name']));
  }
?>
<a href="index2.html"><font size="+3">
<font color="#FF0000"><div align="center">Return</div></font></font></a>

<a href="../../index.html"><font size="+3">
<font color="#000000"><div align="center">Home</div></font></font></a>
